package com.kitty.game.task.model.product.targetparam;

import com.kitty.game.task.model.product.TaskTargetParam;
import org.nutz.lang.util.NutMap;

/**学习操作任务目标参数*/
public class StudyTargetParam extends TaskTargetParam {
    /**力法选择*/
    public static final byte CHOOSE_ATK = 1;
    /**技能学习*/
    public static final byte SKILL = 2;

    /**学习类型*/
    private byte studyType;

    @Override
    public TaskTargetParam parseParam(NutMap nutMap) {
        studyType = (byte) nutMap.getInt("studyType");
        return this;
    }

    public byte getStudyType() {
        return studyType;
    }
}
